<?php
	$js_list[1] = './tpl/js/loginreg.js';
        $css_list[1]['url'] = './tpl/css/index_other.css';
	$css_list[0]['url'] = './tpl/css/welcome.css';
	$js_list[0] = './tpl/js/welcome.js';
         
?>
<!--{template inc/header}-->

<div id="body" class="fm960"> 
    <div class="clear"></div>
    <!--{if $_FANWE['uid'] <= 0}-->
    <div class="reg_box">
        <div class="reg_left">
            <p class="join_reg"><a href="{u user/register}">加入我们</a> 获取您的美丽方案</p>
            <p  class="join_reg"><span style=" font-size: 20px;color:#999;font-weight:bold;">优颜社区</span> 将努力为您推荐专属的美丽妆品、感兴趣的话题，并会一直致力于收集最全面的妆品信息，评论统计以及折扣优惠信息。</p>
            
            
        </div>
        <div class="reg_right">
            <form id="indexloginForm" name="indexloginForm" action="{u user/ajax_login}" method="post">
                    <div class="lg_name">
                            <span>{lang user_name}：</span>
                            <input type="text" value="" tooltip="{lang user_name_tip}" name="email_name" class="text" maxlength="32" />
                             <div class="err_name"><span></span></div>
                    </div> 
               
                   
                    <div class="clear"></div>
                    <div class="lg_pass">
                            <span>{lang user_password}：</span>
                            <input type="password" value="" name="pass" class="text" maxlength="32" />
                            
                    </div>
                    <div class="err_pass"><span></span></div>
                    <div class="clear"></div>
                    
                    
                    <div class="lg_login">
                            <input type="submit" value=" " class="sub" id="login_submit" />
                            <a href="{u user/forgetpassword}">{lang forget_password}</a>
                            <label>
                                    <input type="checkbox" name="remember" class="checkbox" checked="checked" value="1209600">
                                    <span>{lang user_remember}</span>
                            </label>
                    </div>
                    <div class="clear"></div>
                    <div class="lg_login_loading">
                            <span>{lang login_loading}</span>
                    </div>
                    <input name="rhash" value="<!--{dynamic getRHash}-->" type="hidden"/>
                    <input name="refer" value="{u index/index}" type="hidden"/>
                    <input name="action" value="ajax_login" type="hidden"/>
            </form>
        </div>
        
    </div>
    <!--{/if}-->
    
    <div class="shihe">   
        {lang zpku/youshouldlike}
    </div>
    
    <div id="shouye_left">
        <div class="section">
            <!--{eval $col_index = 0;}-->
            <!--{loop $share_display $share_col}-->
            <!--{eval $col_index++;}-->
            <!--{loop $share_col $share}-->
            <div class="item-subject">
                <a href="{u zp/index id=$share['zp_id']}">
                    <div class="zppic">
                        <img src="{$share['zp_pic']}" width="150" height="150"/>
                    </div>
                     <div class="zpname">
                        {$share['zp_name']}
                    </div>
                    <div class="zppingfen">
                        
                    </div>
                   <div class="zpjieshao">
                        sfsfsdfsfsfsfsdfsfsfsfsdfsfsfsfsdfsfsfsfsdfsfsfsfsdfsf
                    </div>
                </a>
            </div>            
            <!--{/loop}-->
            <!--{/loop}-->
            <div class="blank12"></div>
            <!--{if $pager['page_count'] > 1}-->
            <div class="pagination"> 
            <!--{subtemplate inc/pages}--> 
            </div>
            <!--{/if}-->
        </div>
           
    </div>
    
    <div id="shouye_right">
       
    </div>
    
    
</div>
<div class="clear"></div>
<script type="text/javascript">
FANWE.NO_COUNTER = true;
var colHeight = 0;
var colIndex = 0;
var rowHtml = '<div class="album_list_t empty_row"><div class="hd"></div><div class="bd"></div><div class="ws_ft"></div></div>';
jQuery(function(){

	<!--{if getIsManage('album')}-->
	$('.album_list_t').hover(function(){
		var shareID = this.getAttribute('shareID');
		if(shareID)
			$.GetManageMenu('album',shareID,this);
	},function(){});
	<!--{/if}-->
	if($.browser.msie&&($.browser.version == "6.0")&&!$.support.style)
	{
		return ;
	}
	else{
		$(".share_col").each(function(i){
			$(this).append(rowHtml);
		});
		$(window).scroll(function(){
			$(".share_col").each(function(i){
				$('.empty_row .bd',this).height(0);
				if($(this).height() > colHeight)
				{
					colIndex = i;
					colHeight = $(this).height();
				}
			});
			
			$(".share_col").each(function(i){
				if(i != colIndex)
				{
					$('.empty_row .bd',this).height(colHeight - $(this).height());
				}
			});
		});
	}
});
</script>
<!--{template inc/footer}-->
